home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
telecomm
/
flashdoc.lzh
/
ANSWRING.DO
next >
Wrap
Text File
|
1992-02-06
|
2KB
|
78 lines
>** top of file
answring.do V. 2.1.0 - 02/06/92
Copyright (C) 1992 by Al Fasoldt
- Documentation -
(You can run this script with the documentation in place, but
for faster execution, save this copy in a separate folder and
run this script with the documentation removed.)
ANSWRING.DO does something that may seem a little strange. It
tells Flash to answer the phone only if it has rung for more
than a minute. Why do such a thing?
The answer: To keep Flash from automatically answering all
calls. If you are away from home and want to be able to call
your home computer to transfer files (from a laptop, for
example, when you are traveling), you may not want Flash to
pick up the line on the first ring; this would greet all human
callers with a piercing modem whistle. (Not a nice thing,
especially to those who are calling long-distance.)
I wrote this script when I was staying for a few months away
from home. I knew an answering machine would simply fill up in
a week or so, and so I wanted the phone to go unanswered unless
I was calling from my laptop. This script did very nicely.
Make sure that the software you are using to call your ST or TT
is able to continue ringing the phone for much more than a
minute. I found that a 90-second timeout was necessary in some
situations.
This script is actually the front-end routine for a mini-BBS
script that I wrote. A shortened version of that script, called
HOST.DO, is included in the FLASHDOC archive.
- End of documentation -
|
>** start|
>ca off|
>ca cl|
>L: top|
>ba 24|
>pa 2|
ATZ|
>pa 2|
>wa "RING" 1200 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
>wa "RING" 7 loop1|
ATS0=1|
>wa "CONNECT" 60|
>if ~ca jmp nocar|
>** To chain this script to a mini-BBS script, place a command
here to run HOST.DO or another DO file that provides remote
file transfer capabilities. Note that at this point, the end of
the main routine, the modem has answered the phone.|
>end|
>** no-carrier subroutine|
>L: nocar|
>HG|
>pa 2|
>jmp top|
>end|